import React, { useEffect } from 'react';
import { useHistory } from 'umi';
import { Image } from 'react-vant';
import './login.less'
export default function GuidePage() {
    const history = useHistory();

    useEffect(() => {
        const timer = setTimeout(() => {
            history.push('/login');
        }, 3000);

        return () => {
            clearTimeout(timer);
        };
    }, []);

    return (
        <div>
            {/* <h1>引导页面</h1> */}
            <Image width='100%' height='100%' src="https://www.axured.cn/assets/axurefiles/dd9eb05e6076c704b2c1e0053def3cc6/images/%E5%BC%95%E5%AF%BC%E9%A1%B5/u9.png" />

            <div className='zi'>
                生鲜商城APP
            </div>
        </div>
    );
}
